package edu.nf.ssm.web.vo;

/**
 * @ Author bin
 * @ Create  2025/5/13 上午9:14
 * 统一响应视图对象
 **/
public class ResultVO<T> {
    /*
    * 响应码
    * */
    private Integer code;
    /*
    * 响应信息
    * */
    private String message;
    /*
    * 响应数据
    * */
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
